package com.topsun.posclient.system.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.topsun.posclient.common.dao.BaseDao;
import com.topsun.posclient.system.entity.Operator;

/**
 * @author Dong
 *
 */
@Repository("operatorDao")
public class OperatorDao extends BaseDao {
	
	// 查询操作员
	public List<Operator> getOperator(String name, String password) throws Exception{
		return this.queryAll("from Operator");
	}

}
